﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="jquery-validate-plugin-2cwebvn/jquery-1.7.2.min.js"></script>
<script type="text/javascript"  src="jquery-validate-plugin-2cwebvn/jquery.validate.min.js"></script>
<script type="text/javascript" src="jquery-validate-plugin-2cwebvn/localization/messages_vi.js"></script>
<title>Dang Ky</title>
</head>

<body>


<form  id="info" method="post"  action="kiemtra.php">
<table align="center" >
	<tr>
    	<td>Họ tên</td>
        <td><input class="required"  type="text" name="hoten" id="hoten" minlength="6" /></td>
    </tr>
    <tr>
    	<td>Số điên thoại</td>
        <td><input  class="digits" type="tel" name="sodt" id="sodt" minlength="10"  /></td>
    </tr>
    <tr>
    	<td>Ngày sinh</td>
        <td><input class="required" type="date" name="ngaysinh"  /></td>
    </tr>
    <tr>
    	<td>Email</td>
        <td><input class="required email" type="email" name="email"  /></td>
    </tr>
    
    <tr>
    	<td></td>
    	<td > <input type="submit" id="submit" value="Submit"  /> </td>
        
    </tr>

</table>

</form>
<script type="text/javascript">

$(document).ready(function(){
    $("#info").validate({
            errorElement: "span", // Định dạng cho thẻ HTML hiện thông báo lỗisádADa
          
        });
});
</script>


</body>
</html>